package com.school.movie.business.mobile.model.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * (VideoComment)实体类
 *
 * @author makejava
 * @since 2021-01-29 13:00:11
 */
@Data
@TableName("video_comment")
public class VideoComment implements Serializable {
    private static final long serialVersionUID = 788778520818768680L;

    @TableId
    private Long forumId;

    private String vid;

    private String fromId;
    private String toId;
    @TableField(exist = false)
    private String toName;

    private String remark;

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date forumDate;

    private int countNumber;

    private Long pid;

    @TableField(exist = false)
    private String userName;

    @TableField(exist = false)
    private boolean hasApprove;

}